package com.max.service;

import com.max.base.BaseServiceImpl;
import com.max.dao.UserMessageDao;
import com.max.entity.UserMessage;

import java.util.List;

public class UserMessageService extends BaseServiceImpl<UserMessageDao, UserMessage> {

    private final static UserMessageService instance = new UserMessageService();
    public static UserMessageService getInstance() {
        return instance;
    }

    private UserMessageService() {
        super(UserMessageDao.getInstance());
    }


    public List<UserMessage> selectMessageListOrderByTime() {
        return dao.selectMessageListOrderByTime();
    }


}
